package com.li.mapper;

import com.li.pojo.User;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper //标记mapper文件位置，否则在Application.class启动类上配置mapper包扫描
@Repository
public interface UserMapper {

    User queryUser(User user);
    User queryUserUno(User user);
    List<User> queryAllUserMessage();
    User save(User user);
    void addUser(User user);
    void addUserM(User user);
    User queryUserMessage();
}
